<?php

namespace Home\Model;

use Think\Model\AdvModel;

/**
 * 分类模型
 */
class SignedModel extends AdvModel {

    /**
     * 获取已签到的用户
     * @param type $mid
     */
    function getSigned($mid) {
        $condition['mid'] = $mid;
        return $this->field(true)->where($condition)->order('lasttime desc')->select();
    }

}
